# -*- coding: utf-8 -*-
from django.db import models

# Create your models here.


class Log(models.Model):
    commit = models.CharField(max_length=50, verbose_name=u'版本号')
    author = models.CharField(max_length=50, verbose_name=u'作者')
    datetime = models.DateTimeField(null=True, verbose_name=u'提交时间')
    files = models.IntegerField(null=True, verbose_name=u'被修改的文件数')
    add = models.IntegerField(null=True, verbose_name=u'增加的行数')
    remove = models.IntegerField(null=True, verbose_name=u'删除的行数')
    project = models.CharField(max_length=50, null=True, verbose_name=u'项目')
    branch = models.CharField(max_length=50, null=True, verbose_name=u'分支')